import { Module } from '@nestjs/common';
import { SequelizeModule } from '@nestjs/sequelize';
import { ResumeController } from './resume_list.controller';
import { ResumeService } from './resume_list.service';
import { Resume } from '@/models/resume.model';
import { Content } from '@/models/content.model';
import { Entry } from '@/models/entry.model';
import { Customization } from '@/models/customization.model';
import { TemplateModule } from '../template_list/template_list.module';
import { DownloadLog } from '@/models/downloadLog.model';
import { Orders } from '@/models/orders.model';
import { PaymentModule } from '../payment/index.module';

@Module({
  imports: [
    SequelizeModule.forFeature([
      Resume,
      Content,
      Entry,
      Customization,
      DownloadLog,
      Orders,
    ]),
    TemplateModule,
    PaymentModule,
  ],
  controllers: [ResumeController],
  providers: [ResumeService],
})
export class ResumeModule {}
